31ph4n70m

reverse_string.erl

Nov 19th, 2019
675
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. % Erlang solution to codeabbey challenge 30
  2. -module(main).
  3. -export([main/1]).
  4.  
  5. main([_]) ->
  6.     S = "on fare supper off shelf jeopardy about cactus",
  7.     T = lists:reverse(S),
  8.     io:format(T),
  9. init:stop() .
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×