Support EEP37: Funs with names #74

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@nox

nox commented Sep 15, 2013

R17 will probably include my implementation of EEP37 which allows expressions of the form:

fact() ->
    fun Fact(N) when N > 0 -> N * Fact(N - 1); Fact(0) -> 1 end

PropEr should be able to cope with these expressions. I would like to test this but I don't know which case I should extend.

@nox

This comment has been minimized.

Show comment Hide comment
@nox

nox Feb 28, 2016

Oh well.

nox commented Feb 28, 2016

Oh well.

@nox nox closed this Feb 28, 2016

@kostis

This comment has been minimized.

Show comment Hide comment
@kostis

kostis Apr 22, 2016

Collaborator

Hi -- coming back to life in PropEr... was pretty swamped with other stuff till recently.
What is the status of named_funs in OTP these days? Are they supported starting from 17.0?

If yes, can we have a test added to this pull request (I guess test/proper_tests.erl may be an appropriate place to add such a test) and then include it?

Collaborator

kostis commented Apr 22, 2016

Hi -- coming back to life in PropEr... was pretty swamped with other stuff till recently.
What is the status of named_funs in OTP these days? Are they supported starting from 17.0?

If yes, can we have a test added to this pull request (I guess test/proper_tests.erl may be an appropriate place to add such a test) and then include it?

@nox

This comment has been minimized.

Show comment Hide comment
@nox

nox Apr 22, 2016

Sorry but ping timeout, I don't really do Erlang anymore.

nox commented Apr 22, 2016

Sorry but ping timeout, I don't really do Erlang anymore.

@kostis

This comment has been minimized.

Show comment Hide comment
@kostis

kostis Apr 22, 2016

Collaborator

A bit sad, but quite understandable...

Hope you are having fun, whatever you may be doing these days!

Collaborator

kostis commented Apr 22, 2016

A bit sad, but quite understandable...

Hope you are having fun, whatever you may be doing these days!

@nox

This comment has been minimized.

Show comment Hide comment
@nox

nox Apr 22, 2016

Thanks! I'm having fun working on Servo. Maybe I'll write some Rust-Erlang glue and I'll be able to go to some Erlang conference to present it, one day. :)

nox commented Apr 22, 2016

Thanks! I'm having fun working on Servo. Maybe I'll write some Rust-Erlang glue and I'll be able to go to some Erlang conference to present it, one day. :)

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