Skip to content

Commit

Permalink
Issue #169 the flip bind exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
tonymorris committed Nov 18, 2015
1 parent 34447ab commit 5f966c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Course/Monad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module Course.Monad(

import Course.Applicative hiding ((<*>))
import Course.Core
import Course.Functor
import Course.Id
import Course.List
import Course.Optional
Expand Down Expand Up @@ -152,7 +153,7 @@ join =
-> (a -> f b)
-> f b
(>>=) =
flip (=<<)
error "todo: Course.Monad#(>>=)"

infixl 1 >>=

Expand Down

0 comments on commit 5f966c6

Please sign in to comment.