Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Naming thread

Name: Anonymous 2013-02-07 13:24

Sup, /prague/.
To make my language perfect, I need perfect naming.
I have two pattern-matching operators - `=>' and `<=' - and both have alternative named forms for some syntactic manipulations. The first one is same as ML's `match'(or Erlang's `case') is named `match', I have no problem with it. The second one is used for binding, but it would be misguiding to call it `bind' since it doesn't just bind name, it matches them, what means that «a <= "foo"» would fail if a is already bound to something not equal to string "foo".
How would you call this operator?

Name: Anonymous 2013-02-07 13:27

batch
mind

Name: Anonymous 2013-02-07 14:41

Reminds me, I could start on my DSL instead of this shitty final year project.

Name: Anonymous 2013-02-07 15:44

>>2
match comes to bind

Name: Anonymous 2013-02-07 16:07

>>3
nah, get cable instead.

Name: Anonymous 2013-02-07 16:34

>>5
Rather than funny, you just look clueless.

Name: Anonymous 2013-02-07 16:45

>>6
What are you talking about?

Name: Anonymous 2013-02-07 16:53

unify

Learn Prolog.

Name: Anonymous 2013-02-07 16:55

>>8
Fuck off, Yannick.

Name: Anonymous 2013-02-07 23:55

>>8
Good idea. But unification is symmetric, while `<=' is obviously asymmetric.

Name: Anonymous 2013-02-08 0:37

unify

Name: 11 2013-02-08 0:40

Sorry didn't see unify was already suggested. How about asymunify then?

Name: Anonymous 2013-02-08 11:17

>>12
That's awkward.

Name: Anonymous 2013-02-08 12:16

autismunify

Name: Anonymous 2013-02-08 18:48

>>12
And its counterpart, unifyasym?

Don't change these.
Name: Email:
Entire Thread Thread List