Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Denzel
on Nov 2, 2017
|
parent
|
context
|
favorite
| on:
Linux containers in 500 lines of code (2016)
Very clean and easy to read, thanks for sharing. That code is amazingly illuminating.
davexunit
on Nov 2, 2017
[–]
Thank you!
rrhd
on Nov 2, 2017
|
parent
[–]
I'm reading it and I'm just wondering what this line means
(eqv? #\1 (call-with-input-file userns-file read-char))
specifically the #\1?
davexunit
on Nov 2, 2017
|
root
|
parent
[–]
#\ is the weird syntax for character objects in Guile, so #\1 is the character "1". This expression reads a single character from userns-file and checks if it is the character "1".
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: