bug or feature?

Bjorn Gustavsson <>
Mon Apr 24 07:40:45 CEST 2006


"Richard A. O'Keefe" <> 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