Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

runtime: open file #87

Open
avelino opened this issue Jan 2, 2018 · 2 comments
Open

runtime: open file #87

avelino opened this issue Jan 2, 2018 · 2 comments

Comments

@avelino
Copy link
Member

avelino commented Jan 2, 2018

(package main
  (let csv (open "file.csv"))
  (print csv))
@trumae
Copy link
Contributor

trumae commented Jan 10, 2018

It's like the clojure slurp (https://clojuredocs.org/clojure.core/slurp)? In that case, the name open is the better choice??

@crgimenes
Copy link
Contributor

if csv is a file descriptor ok, is is a string I prefer load or read

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants