mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-11 06:05:12 +03:00
check in refreshed transcript output
This commit is contained in:
parent
c0424b6608
commit
bb3f5b26b6
@ -52,28 +52,34 @@ myServer = unsafeRun! '(hello "127.0.0.1" "0")
|
||||
do an `add` or `update`, here's how your codebase would
|
||||
change:
|
||||
|
||||
⊡ Previously added definitions will be ignored: Exception
|
||||
Exception.raise
|
||||
|
||||
⍟ These new definitions are ok to `add`:
|
||||
|
||||
type Either a b
|
||||
(also named builtin.Either)
|
||||
ability Exception
|
||||
Exception.unsafeRun! : '{g, Exception} a -> '{g} a
|
||||
bugFail : Failure -> r
|
||||
closeSocket : Socket ->{IO, Exception} ()
|
||||
hello : Text -> Text ->{IO, Exception} ()
|
||||
myServer : '{IO} ()
|
||||
putBytes : Handle
|
||||
-> Bytes
|
||||
->{IO, Exception} ()
|
||||
putText : Handle -> Text ->{IO, Exception} ()
|
||||
reraise : Either Failure b ->{Exception} b
|
||||
serverSocket : Optional Text
|
||||
-> Text
|
||||
->{IO, Exception} Socket
|
||||
(also named Exception.reraise)
|
||||
socketSend : Socket
|
||||
-> Bytes
|
||||
->{IO, Exception} ()
|
||||
toException : Either Failure a ->{Exception} a
|
||||
(also named Exception.reraise)
|
||||
|
||||
⍟ These names already exist. You can `update` them to your
|
||||
new definition:
|
||||
|
||||
closeSocket : Socket ->{IO, Exception} ()
|
||||
putBytes : Handle -> Bytes ->{IO, Exception} ()
|
||||
serverSocket : Optional Text
|
||||
-> Text
|
||||
->{IO, Exception} Socket
|
||||
|
||||
```
|
||||
```ucm
|
||||
|
Loading…
Reference in New Issue
Block a user