Fixed unit function
This commit is contained in:
parent
4962291f89
commit
c3d84bc4a6
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ class Applicative
|
|||
given A
|
||||
defn pure: A -> F A
|
||||
|
||||
fn unit: F
|
||||
λ => pure ()
|
||||
fn unit: F #()
|
||||
λ => pure #()
|
||||
end fn
|
||||
end class
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue