Skip to content

Commit fe9852e

Browse files
committed
wip
1 parent 20e03f7 commit fe9852e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Linear/Var/Types.hs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module Linear.Var.Types where
2+
3+
import qualified Data.Map as M
4+
import GHC.Generics (Generic)
5+
import Test.QuickCheck (Arbitrary)
6+
7+
type SimplexNum = Rational
8+
9+
newtype Var = Var {unVar :: Int}
10+
deriving (Show, Read, Eq, Ord, Generic)
11+
deriving newtype (Arbitrary)

0 commit comments

Comments
 (0)