Remove old aoc2023 directory
This commit is contained in:
@@ -1 +0,0 @@
|
||||
../aoc2023/Node.newt
|
||||
7
aoc2024/Node.newt
Normal file
7
aoc2024/Node.newt
Normal file
@@ -0,0 +1,7 @@
|
||||
module Node
|
||||
|
||||
import Prelude
|
||||
|
||||
pfunc fs : JSObject := `require('fs')`
|
||||
pfunc getArgs : List String := `arrayToList(String, process.argv)`
|
||||
pfunc readFile uses (MkIORes) : (fn : String) -> IO String := `(fn) => (w) => Prelude_MkIORes(require('fs').readFileSync(fn, 'utf8'), w)`
|
||||
Reference in New Issue
Block a user