Created
September 11, 2014 01:05
-
-
Save DanielG/16a8b25a76ed912dad2a to your computer and use it in GitHub Desktop.
This file contains 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
data ReqType = List | |
| Lang | |
| Flag | |
| Browse | |
| Check | |
| Expand | |
| Debug | |
| Info | |
| Type | |
| Split | |
| Sig | |
| Refine | |
| Auto | |
| Find | |
| Lint | |
| Root | |
| Doc | |
| DumpSym | |
| Boot | |
| Version | |
data Request a where | |
BrowseReq { rModule :: ModuleName | |
rDetailed :: Bool | |
rAllBindings :: Bool | |
-- ^ Instead of only returning exported bindings return all top | |
-- level bindings in the browsed module. (TODO: re-exported | |
-- stuff too?) | |
} :: Request Browse | |
instance deriving Show (Request a) | |
data Response a where | |
BrowseRes [Symbol] :: Response Browse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment