mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-17 13:27:30 +03:00
408 B
408 B
scratch/main> builtins.merge
debug a = match Debug.toText a with
None -> ""
Some (Left a) -> a
Some (Right a) -> a
test> t1 = if bool then [Ok "Yay"]
else [Fail (debug [1,2,3])]
bool = true
allowDebug = debug [1,2,3]
scratch/main> add
scratch/main> test
bool = false
scratch/main> update.old
scratch/main> test