Lisp-Python vs. Erlang (was MLvtA, was Meta)

Bengt Kleberg bengt.kleberg@REDACTED
Fri Aug 25 13:04:23 CEST 2006


On 2006-08-25 12:28, Sean Hinde wrote:
> This is fun!
> 
> Here is my Erlang translation of the GPS from Norvig, following the lisp 
> code as closely as possible.
> 
> I found it quite kludgy to write in erlang. I ended up using a 
> deprecated function from lists.erl, and there were some features of lisp 
...deleted
> find_all(Goal, Ops, Pred) ->
>     lists:filter(Pred, [Goal], Ops).

what does filter/3 do?


bengt
-- 
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."



More information about the erlang-questions mailing list