Created
March 13, 2022 09:11
-
-
Save deemp/0771fc04db9675256da6799bc9b5c4be 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
| data Position = Position | |
| { row :: Int, | |
| column :: Int | |
| } deriving (Data) | |
| data Segment = Segment {start::Position, end::Position} deriving (Data) | |
| data Node a b = Node {pos::Segment, node::a, load::b} deriving (Data) | |
| type I a = Node a () | |
| newtype PLicense = PLicense {cs::[I PComment]} deriving (Data) | |
| newtype PComment = PComment {c::Text} deriving (Data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment