Skip to content

Instantly share code, notes, and snippets.

@khellan
Created September 19, 2011 07:56
Show Gist options
  • Save khellan/1226130 to your computer and use it in GitHub Desktop.
Save khellan/1226130 to your computer and use it in GitHub Desktop.
no_auto_import directive test
-module(test).
-compile({no_auto_import,[min/2]}).
-export([test/2]).
test(A,B) ->
min(A,B).
min(A,B) when A<B -> A;
min(_,B) -> B.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment