|
Posted
over 6 years
ago
by
Duncan McGreggor
I don't know if I've ever played with ETS before in LFE ... definitely Mnesia, but I can't remember using ETS before. So, naturally, I have some questions :-) Something that I noticed in the LFE REPL: when getting an exception error (e.g., calling an Erlang stdlib mod:func with args in the wrong
|
|
Posted
over 7 years
ago
by
Damian DobroczyĆski
... because *meck* needs abstract forms and they are absent in LFE-generated beams. Is there any way library or something to handle this case? --D.
|
|
Posted
over 7 years
ago
by
Dmitriy Kargapolov
Hello, It's easy to use macros in "function body", but I'd like to generate function with pattern-matching args using macros. For example: lfe> (defmacro empty-1st () '(('() _) 'yes)) empty-1st lfe> (macroexpand '(empty-1st) $ENV) (('() _) 'yes) lfe> (defun is-1st-empty (empty-1st) ((_ _)
|
|
Posted
over 7 years
ago
by
Robert Virding
This is also an issue in github https://github.com/rvirding/lfe/issues/361 . Currently LFE does not compile to Erlang but to Core Erlang. Core is a nice, more standard functional language used internally in the compiler and is quite close to core LFE. However, while you can actually write code in
|
|
Posted
over 7 years
ago
by
[email protected]
Hi, I've been using LFE in production, daily, for nearly three years now. I just wanted to ask if any others here are (still) doing so as well, or if you primarily are interested in hacking on LFE for the sake of hacking on a PL (which, of course, is just fine :-). Cheers, Mike
|
|
Posted
almost 8 years
ago
by
Franis Sirkovic
I would like to try LFE but I have a problem installing it with "brew install lfe". I see that this problem is reported as #337 issue (lfeexec). Problem was introduced in version 1.3. But, I don't know how to use info about #337 to install lfe using homebrew. I am using linuxmint 18.3 on my
|
|
Posted
almost 8 years
ago
by
Robert Virding
This is something which has been discussed in the irc and I mentioned in slack so I thought I would talk about here as well. So LFE has always been compiled down not to erlang AST but to core erlang which is an internal language used in the compiler. However you can get the erlang compiler to
|
|
Posted
over 8 years
ago
by
Adam Krupicka
Hello, I've been trying to get something like Sync
|
|
Posted
over 8 years
ago
by
Li, Bing
Hi, #'==/2 still works fine. Any idea why #'!= doesn't? Thank, (apply #'!=/2 [1 2]) exception error: #(unbound_func #(!= 2))
|
|
Posted
over 8 years
ago
by
Robert Virding
I have now pushed version 1.3 to master. Contains lots of fixes and some new stuff including type definitions and specs. The tag is 1.3 or v1.3.
|