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
Can we use Agda 2.2.8's syntax mechanism to define a binder similar to Haskell's do?
The text was updated successfully, but these errors were encountered:
One can write something like this:
module IOTest where open import System.IO infixl 1 _<_ infixr 1 bind infixr 2 _!_ _<_ = _>>_ _!_ = _>>_ bind = _>>=_ do = skip syntax bind e₁ (λ x → e₂) = x ← e₁ , e₂ main = do < s ← getStr , putStr "Hi, " ! putStr s ! putStr "!\n" < m ← getStr , putStr m
it's similar, but unfortunately includes all these random characters.
Sorry, something went wrong.
No branches or pull requests
Can we use Agda 2.2.8's syntax mechanism to define a binder similar to Haskell's do?
The text was updated successfully, but these errors were encountered: