This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------- | |
Welcome to StackEdit! | |
=================== | |
Hey! I'm your first Markdown document in **StackEdit**[^stackedit]. Don't delete me, I'm very helpful! I can be recovered anyway in the **Utils** tab of the <i class="icon-cog"></i> **Settings** dialog. | |
---------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2017-01-13T04:45:46.472Z"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nevercalled() -> | |
called. | |
infinite([]) -> | |
ended; | |
infinite([X|T]) -> | |
infinite([X|T]), | |
nevercalled(). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1> htmltags:module_info(). | |
[{exports,[{anchor,1},{module_info,0},{module_info,1}]}, | |
{imports,[]}, | |
{attributes,[{vsn,[182074441483321614685265050785950543270]}]}, | |
{compile,[{options,[]}, | |
{version,"4.7.3"}, | |
{time,{2012,3,26,4,0,5}}, | |
{source,"/home/hernan/Dropbox/erlang/manuscript/code/htmltags.erl"}]}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1> c(htmltags). | |
{ok,htmltags} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1> atom > 5. | |
true | |
2> atom > complexAtom. | |
false | |
3> complexAtom > atom. | |
true | |
4> atom > "A". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1> 1 + 1.0. | |
2.0 | |
2> 2.0 + 1. | |
3.0 | |
3> 4 + 45. | |
49 | |
4> 45 /0.5. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1> lists:partition(fun(X) -> X rem 2 == 1 end, lists:seq(0, 20)). | |
{[1,3,5,7,9,11,13,15,17,19], [0,2,4,6,8,10,12,14,16,18,20]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1> lists:append([[2,3,4],[5,6],[2,5,6]]). | |
[2,3,4,5,6,2,5,6] | |
2> lists:append([2,3,4],[4,5,6]). | |
[2,3,4,4,5,6] | |
3> lists:concat([an, atomic, bomb, is, big, trouble]). | |
"anatomicbombisbigtrouble" | |
4> lists:concat(["/", users, "/" , "find", "." ,"html"]). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var TimeTraveller = require('timeTraveller).TimeTraveller; | |
var ttDate = new TimeTraveller().now(); |
NewerOlder