compiler output compatible with older version
This commit is contained in:
@@ -54,7 +54,18 @@
|
|||||||
"command": "newt-vscode.check",
|
"command": "newt-vscode.check",
|
||||||
"title": "Check newt file"
|
"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": {
|
"scripts": {
|
||||||
"vscode:prepublish": "npm run package",
|
"vscode:prepublish": "npm run package",
|
||||||
|
|||||||
@@ -804,7 +804,7 @@ snoc : ∀ a. List a → a → List a
|
|||||||
snoc xs x = xs ++ (x :: Nil)
|
snoc xs x = xs ++ (x :: Nil)
|
||||||
|
|
||||||
instance ∀ a b. {{Show a}} {{Show b}} → Show (a × b) where
|
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
|
instance ∀ a. {{Show a}} → Show (List a) where
|
||||||
show xs = joinBy ", " $ map show xs
|
show xs = joinBy ", " $ map show xs
|
||||||
|
|||||||
Reference in New Issue
Block a user