Last active
February 9, 2016 15:42
-
-
Save sashaafm/96f7dc333df3f97af9ea to your computer and use it in GitHub Desktop.
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
@spec front(list(tuple())) :: tuple() | nil | |
def front([]), do: nil | |
def front(queue) do | |
{result, _} = gfe queue | |
result | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment