Untitled

Run Settings
LanguageNim
Language Version
Run Command
type Some[T] = tuple value: T None = tuple proc either[T](m: Some[T] or object, alternative: T): T = when m is Some[T]: return m.value else: return alternative proc main(): void = var m: Some[int] = (value: 10) var t: int t = either(m, 11) echo $t main()
Editor Settings
Theme
Key bindings
Full width
Lines