13 views
Skip to first unread message

Graeme Defty

unread,
Jun 29, 2014, 11:02:18 PM6/29/14
to chica...@googlegroups.com
The next issue queuing up to bite me is the handling of references to BIFs.

This works fine:

    is_integer(10),

whereas this does not

    fun is_integer/1

(and it used to)  The error message says that is_integer/2 is unknown.

It seems that the built-in-ness (or the  auto-importability) of is_integer is not being recognised any more.

graeme

Jesse Gumm

unread,
Jun 29, 2014, 11:04:37 PM6/29/14
to chica...@googlegroups.com
Try:

fun erlang:is_integer/1

-Jesse
> --
> You received this message because you are subscribed to the Google Groups
> "ChicagoBoss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to chicagoboss...@googlegroups.com.
> Visit this group at http://groups.google.com/group/chicagoboss.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/chicagoboss/CAKF5fiB%2B9iqzcUrzFbghFBtqUZtP2AJUALQ3wbi5nYJrPR%2BcuQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm

Graeme Defty

unread,
Jun 29, 2014, 11:18:37 PM6/29/14
to chica...@googlegroups.com
Hi Jesse,

Yes, that works fine, of course, but was not necessary before.

I dont have many of these in my application so it is easy enough to change. I just wanted to report it because it seems to me that it perhaps indicates something not quite right. Someplace in the code that used to recognise BIFs no longer does so.

I dont really want "erlang:"s in my code if they are not needed, but if that is how things will work moving forward then so be it.

Thank you for the quick response.

g




Reply all
Reply to author
Forward
0 new messages