(defmodule rec)
(defrecord person
name
address
age)
(defun dp (x) (* 2 x))
> (slurp "rec.lfe")
#(ok rec)
> (dp 4)
8
> (make-person name "Arjan" age 27)
exception error: #(unbound_func #(make-person 4))
--
You received this message because you are subscribed to the Google Groups "Lisp Flavoured Erlang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lisp-flavoured-e...@googlegroups.com.
To post to this group, send email to lisp-flavo...@googlegroups.com.
Visit this group at https://groups.google.com/group/lisp-flavoured-erlang.
For more options, visit https://groups.google.com/d/optout.
> (l 'rec)
(#(module rec))
>
--
Re: Arjan. Awesome, happy hacking!Re: my message. I think what I meant was it's showing up in the docs beam chunk. Also s/Kyla/kla/Eric
It works like charm.--
Thanks Robert.
By the way, this is my first programming experience (done very little c in university) and I'm loving it.
Thanks again.
You received this message because you are subscribed to the Google Groups "Lisp Flavoured Erlang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lisp-flavoured-erlang+unsub...@googlegroups.com.
To post to this group, send email to lisp-flavoured-erlang@googlegroups.com.