Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Idris have MaybeT?

Tags:

haskell

idris

Does Idris have MaybeT from Haskell or is there something else I should use instead? I am trying to do computations with many values of type IO (Maybe a). How can combine Maybe and IO into a single monad (like MaybeT IO in Haskell) in Idris?

like image 404
michaelmesser Avatar asked Aug 15 '19 01:08

michaelmesser


1 Answers

There's a new PR adding it, though it hasn't been merged yet: https://github.com/idris-lang/Idris-dev/pull/4753

like image 102
Alexander Gryzlov Avatar answered Sep 28 '22 13:09

Alexander Gryzlov