$ erlc /tmp/essai.erl
/tmp/essai.erl:5: Warning: this expression will fail with a 'badarith' exception
et à l'exécution:
Eshell V8.2 (abort with G)
1> essai:essai().
** exception error: an error occurred when evaluating an arithmetic expression
in function essai:essai/0 (/tmp/essai.erl, line 5)
# En erlang
Posté par totof2000 . En réponse au journal Un print(1 + "3a"), ça nous inspire comment ?. Évalué à 6.
Ca commence par raler à la compilation :
et à l'exécution: