From: Vance Shipley <van...@motivity.ca>
Date: Mon, 24 Nov 2008 13:08:32 -0500
Local: Mon, Nov 24 2008 1:08 pm
Subject: [erlang-questions] Binary pattern matching and optimization
I would like to have a function like this:
foo(<<_:Offset/binary, Foo:8, _/binary>>, Offset) -> Unfortunately that doesn't work: Eshell V5.6.5 (abort with ^G) I don't understand why the first version can't work but So instead I do this: foo(Bin, Offset) -> This works fine of course but now I am trying to understand Warning: INFO: using a matched out sub binary will prevent How should I interpret this warning? -Vance You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||