Erlang逻辑运算符

-module(helloworld). 
-export([start/0]). 

start() -> 
   io:fwrite(~w~n,[true or false]),  
   io:fwrite(~w~n,[true and false]), 
   io:fwrite(~w~n,[true xor false]), 
   io:fwrite(~w~n,[not false]).

相关文章

-module(helloworld). -export([start/0]). start() ->...
-module(helloworld). -export([start/0]). start() ->...
-module(helloworld). -export([start/0]). start() ->...
-module(helloworld). -export([start/0]). start() ->...
-module(helloworld). -export([add/2,start/0]). add(X,...
% Erlang整数 -module(helloworld). -export([start/0]). ...