bug or feature?

Bjorn Gustavsson bjorn@REDACTED
Mon Apr 24 07:40:45 CEST 2006


"Richard A. O'Keefe" <ok@REDACTED> writes:

> Ideally, if you wrote
> 
>     f("http:"  ++ S) -> S;
>     f("https:" ++ S) -> S;
>     f("ftp:"   ++ S) -> S;
>     f("tftp:"  ++ S) -> S;
>     f(            S) -> S.
> 
> the compiler would generate essentially the same trie.

It will.

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list