diff options
author | Camil Staps | 2017-07-27 23:46:04 +0200 |
---|---|---|
committer | Camil Staps | 2017-07-27 23:46:04 +0200 |
commit | 3e21c67505edf6441d7561b2d52359468861b549 (patch) | |
tree | 0c030c6186bf1b653f6806483f57ffffb4481415 /sil.icl | |
parent | Centralise errors (needed for positional errors #5) (diff) |
Cleanup
Diffstat (limited to 'sil.icl')
-rw-r--r-- | sil.icl | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -91,7 +91,7 @@ Start w = finish 1 io err w # prog = 'SC'.compile prog | isError prog - # err = err <<< fromError prog <<< "\r\n" + # err = err <<< fromError prog = finish 1 io err w # f = f <<< fromOk prog # (_,w) = fclose f w @@ -136,10 +136,3 @@ where sleep i w = code inline { ccall sleep "I:I:A" } - -instance <<< (MaybeError e a) | <<< e & <<< a -where - <<< f (Ok a) = f <<< a - <<< f (Error e) = f <<< e - -instance <<< Error where <<< f e = f <<< toString e |