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
The elephant in the room.
-- | lookup an object, function or enumerator lookupObject :: (MonadCError m, MonadSymtab m) => Ident -> m (Maybe IdentDecl) lookupObject ident = do old_decl <- liftM (lookupIdent ident) getDefTable mapMaybeM old_decl $ \obj -> case obj of Right objdef -> addRef ident objdef >> return objdef Left _tydef -> astError (nodeInfo ident) (mismatchErr "lookupObject" "an object" "a typeDef")
Right now I'm going to assume we're going to special-case every monad in the codebase so we can get some somewhat reasonable output...?
The text was updated successfully, but these errors were encountered:
Maybe we can take a page out of futures's book and actually construct monadic values, 🤷
futures
Sorry, something went wrong.
Suggestion from IRC: https://github.com/TeXitoi/rust-mdo
No branches or pull requests
The elephant in the room.
Right now I'm going to assume we're going to special-case every monad in the codebase so we can get some somewhat reasonable output...?
The text was updated successfully, but these errors were encountered: