Don't expose namespace functions as entrypoints

This commit is contained in:
Ulf Norell
2019-02-04 12:27:08 +01:00
parent 10be09fe30
commit 478da2af33
2 changed files with 17 additions and 11 deletions
-4
View File
@@ -22,10 +22,6 @@ namespace Lib =
contract TestNamespaces =
record state = { x : int }
function init() = { x = 0 }
function palindrome(xs : list(int)) : bool =
Lib.eqlist(xs, Lib.reverse(xs))