can I select over functions?

Marc van Woerkom Marc.Vanwoerkom@REDACTED
Tue Jun 8 12:10:11 CEST 2004

The pseudo code in the icfp contest task had some piece 

    case instruction of
      move(Ant, Steps) ->
      turn(LeftRight) ->
      sense(Direction, Time, Moonphase) ->

where the different cases are not simple values like a 
token for the intended instruction, but functions.

Is there some means to identify a function (compare it to 
a given function) that gets passed as argument? 


More information about the erlang-questions mailing list