mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-14 05:46:47 +03:00
9 lines
318 B
Plaintext
9 lines
318 B
Plaintext
1/1: Building IgnoreDo (IgnoreDo.idr)
|
|
IgnoreDo> IgnoreDo.bound : Maybe () -> Maybe b -> Maybe b
|
|
bound m n = m >>= (\x => n)
|
|
IgnoreDo> IgnoreDo.ignored : Maybe () -> Maybe b -> Maybe b
|
|
ignored m n = m >>= (\_ => n)
|
|
IgnoreDo> IgnoreDo.seqd : Maybe () -> Maybe b -> Maybe b
|
|
seqd m n = m >> Delay n
|
|
IgnoreDo> Bye for now!
|