Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 14th, 2018 74 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. -module(simple_server).
  2. -export( [sayHello/0] ).
  3.  
  4. -callback say(Num :: term()) -> term().
  5.  
  6. sayHello() ->
  7.     io:fwrite( "Hello 1: ~pn", [ say(1) ]) ,
  8.     io:fwrite( "Hello 2: ~pn", [ say(2) ]) .
  9.    
  10. $ erlc simple_server.erl
  11. simple_server.erl:7: function say/1 undefined
  12. simple_server.erl:8: function say/1 undefined
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top