compiler output compatible with older version
This commit is contained in:
@@ -54,7 +54,18 @@
|
||||
"command": "newt-vscode.check",
|
||||
"title": "Check newt file"
|
||||
}
|
||||
]
|
||||
],
|
||||
"configuration": {
|
||||
"type": "object",
|
||||
"title": "Newt Configuration",
|
||||
"properties": {
|
||||
"newt.path": {
|
||||
"type": "string",
|
||||
"default": "build/exec/newt",
|
||||
"description": "Path to the newt executable"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "npm run package",
|
||||
|
||||
@@ -804,7 +804,7 @@ snoc : ∀ a. List a → a → List a
|
||||
snoc xs x = xs ++ (x :: Nil)
|
||||
|
||||
instance ∀ a b. {{Show a}} {{Show b}} → Show (a × b) where
|
||||
show (a,b) = "(" ++ show a ++ "," ++ show b ++ ")"
|
||||
show (a,b) = "(" ++ show a ++ ", " ++ show b ++ ")"
|
||||
|
||||
instance ∀ a. {{Show a}} → Show (List a) where
|
||||
show xs = joinBy ", " $ map show xs
|
||||
|
||||
Reference in New Issue
Block a user