We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20e03f7 commit fe9852eCopy full SHA for fe9852e
src/Linear/Var/Types.hs
@@ -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