Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types of BIF #170

Open
7 of 41 tasks
yoshihiro503 opened this issue Jan 29, 2019 · 0 comments
Open
7 of 41 tasks

Types of BIF #170

yoshihiro503 opened this issue Jan 29, 2019 · 0 comments

Comments

@yoshihiro503
Copy link
Contributor

yoshihiro503 commented Jan 29, 2019

see https://github.com/erlang/otp/blob/OTP-21.1.4/lib/hipe/cerl/erl_bif_types.erl

erlang module

  • Binary Operators
    • '+', '-', '*', '/'
    • 'rem', 'div'
    • '==', '/=', '=:=', '=/=',
    • '>', '>=, '<', '=<'
    • '++', '--'
    • 'and', 'or', 'xor'
    • 'band', 'bor', 'bxor'
    • 'bsr', 'bsl', 'bnot'
    • '!'
  • Unary Operators Unary Op #225
    • '+', '-'
    • 'not'
    • 'bnot'
  • Exiting Type of BIF (Exiting) #196
    • halt/0, halt/1, halt/2
    • exit/1
    • error/1, error/2
    • throw/1
    • nif_error/1, nif_error/2
  • Arithmetic
    • abs
    • ceil/1, floor/1, round/1, trunc/1
    • float/1
  • Binary
    • binary_part/2, binary_part/3
    • bit_size/1, byte_size/1
  • List
    • append/2
    • length/1
    • hd/1, tl/1
  • Map
    • map_size
    • map_get
  • Function
    • apply/2, apply/3
    • make_fun/3
  • Tuple
    • element/2
    • make_tuple/2, make_tuple/3
    • setelement/3
    • size/1
    • tuple_size/1
    • tuple_to_list/1
  • Guards
    • is_atom/1, is_binary/1, is_bitstring/1, is_boolean/1, is_float/1, is_integer/1, is_number/1, is_pid, is_port/1, is_reference/1,
    • is_function/1, is_list/1, is_map/1, is_map_key/2, is_record/2, is_record/3, is_tuple/1
  • System
    • node/0, node/1
    • self/0
    • system_info/1
    • build_stacktrace/0

hipe_bif

#237

lists

#234

maps

#238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant