Skip to content
Snippets Groups Projects
Commit 206bb935 authored by akai's avatar akai
Browse files

add monad-assoc to Lift

parent 03d5a6ff
No related branches found
No related tags found
No related merge requests found
......@@ -283,6 +283,9 @@ monad-unit-r = fix lem
≡⟨ refl ⟩
θ x ∎
monad-assoc : {A B C : Type} -> (f : A -> L℧ B) (g : B -> L℧ C) (la : L℧ A) -> ext g (ext f la) ≡ ext (λ x -> ext g (f x)) la
monad-assoc = {!!}
mapL : (A -> B) -> L℧ A -> L℧ B
mapL f la = bind la (λ a -> ret (f a))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment