Skip to content

DBoroujerdi/nif_stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nif_stack

A little experimentation with Erlang nifs and Erlang.mk

make
make shell

1> Stack = nif_stack:new().
<<>>
2> nif_stack:push(Stack, 42).
ok
3> nif_stack:peek(Stack).
{ok,42}
4> nif_stack:pop(Stack).
{ok,42}
5> nif_stack:peek(Stack).
{error,"Stack is empty."}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published