We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fromMaybe
I have another issue: The following module
module Test where open import Haskell.Prelude test : Integer test = fromMaybe 0 (Just 12) {-# COMPILE AGDA2HS test #-}
is transpiled to
module Test where test :: Integer test = fromMaybe 0 (Just 12)
but this module does not compile — it's missing a line
import Data.Maybe (fromMaybe)
In other words, the function fromMaybe happens to not be a part of the Haskell Prelude.
Prelude
Originally posted by @HeinrichApfelmus in #366 (comment)
The text was updated successfully, but these errors were encountered:
Haskell.*
[ fix agda#377 ] Add module Haskell.Data.Maybe with fromMaybe and more
af154f8
a46bebe
424c6bb
57f4365
jespercockx
Successfully merging a pull request may close this issue.
I have another issue: The following module
is transpiled to
but this module does not compile — it's missing a line
In other words, the function
fromMaybe
happens to not be a part of the HaskellPrelude
.Originally posted by @HeinrichApfelmus in #366 (comment)
The text was updated successfully, but these errors were encountered: