[erlang-questions] Erlang style question - input handling
Wed Sep 27 18:07:28 CEST 2006
Hi, seems like you are still programming in Erlang like a C programmer.
You want to return error codes. How about just failing if the input
How complex is the error checking?
Can you use ordinary pattern matching on the values to check that data
is within range?
On 9/27/06, Nohl Attila Rajmund <> wrote:
> I have a couple of functions which follow this pattern:
> f(X, Y) ->
> % collect some data
> % do something with the collected data
More information about the erlang-questions