mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-05 06:07:21 +03:00
Ref should be the first argument
This commit is contained in:
parent
38e79afbe2
commit
c643ace1b5
@ -856,8 +856,8 @@ stmBuiltins =
|
||||
refPromiseBuiltins :: [(Text, Type)]
|
||||
refPromiseBuiltins =
|
||||
[ ("Ref.Ticket.read", forall1 "a" $ \a -> ticket a --> a),
|
||||
("Ref.ticket", forall1 "a" $ \a -> reft iot a --> io (ticket a)),
|
||||
("Ref.cas", forall1 "a" $ \a -> ticket a --> a --> reft iot a --> io boolean),
|
||||
("Ref.readForCas", forall1 "a" $ \a -> reft iot a --> io (ticket a)),
|
||||
("Ref.cas", forall1 "a" $ \a -> reft iot a --> ticket a --> a --> io boolean),
|
||||
("Promise.new", forall1 "a" $ \a -> unit --> io (promise a)),
|
||||
("Promise.read", forall1 "a" $ \a -> promise a --> io a),
|
||||
("Promise.tryRead", forall1 "a" $ \a -> promise a --> io (optionalt a)),
|
||||
|
Loading…
Reference in New Issue
Block a user