Created
November 6, 2019 05:44
-
-
Save MarcelineVQ/b0f65420892515e3ac19e10c9283e4fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- available methods | |
| record Method where | |
| constructor MkMethod | |
| name : String | |
| args : Type | |
| {prf : So (not $ "rpc." `isPrefixOf` name)} | |
| -- I'd like to be able to write | |
| gorb : Method | |
| gorb = MkMethod "foo" () | |
| -- but because I don't have auto in Method I have to write | |
| gorb : Method | |
| gorb = MkMethod "foo" () {prf = Oh} | |
| -- even this is not finding Oh | |
| gorb : Method | |
| gorb = MkMethod "foo" () {prf = _} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment