Skip to content

Instantly share code, notes, and snippets.

@startling
Last active December 15, 2015 19:48
Show Gist options
  • Save startling/5313489 to your computer and use it in GitHub Desktop.
Save startling/5313489 to your computer and use it in GitHub Desktop.
*Types> :r
Type checking ./Maybe.idr
Types.idr:2:INTERNAL ERROR: "Can't apply a non-function type"
This is probably a bug, or a missing error message.
Please consider reporting at https://github.com/edwinb/Idris-dev/issues
data MaybeT : (Type -> Type) -> Type where
MT : {m : Type -> Type} -> m (Maybe a) -> MaybeT m a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment