I\'m new to Erlang and am trying to program a bounded-buffer problem program. It is almost working, except for making sure the producers don\'t get too far ahead and overwr
As Geoff Reedy has mentioned there are only few BIFS that are allowed in guards.
But the guardian parse transform library can be used to call any function in guards.