Skip to content

Implement an all function #11

@chouzar

Description

@chouzar

Not sure if these functions would be truly useful. Need to start using lamb on different contexts.


pub fn all(from table: Table(index, record)) -> List(#(index, record)) {
  ffi_tab2list(table.reference)
}

@external(erlang, "ets", "tab2list")
fn ffi_tab2list(table: TableId) -> List(record)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions