grottohub / carpenter

Bindings for Erlang's ETS tables. Forked and updated from gts.
20 stars 3 forks source link

Facing with undefined function carpenter:new_table/2 exception #4

Closed bondiano closed 6 months ago

bondiano commented 6 months ago

Hello, thank you for providing the ETS bindings.

I have been trying to use them in my library example but have encountered an issue that is preventing me from running it successfully:

exception error: undefined function carpenter:new_table/2
  in function  carpenter@table:set/1 (/Users/bondiano/workspace/telega/examples/session-bot/build/dev/erlang/carpenter/_gleam_artefacts/carpenter@table.erl, line 143)
  in call from session:attach/1 (/Users/bondiano/workspace/telega/examples/session-bot/build/dev/erlang/bot/_gleam_artefacts/session.erl, line 15)
  in call from bot:build_bot/0 (/Users/bondiano/workspace/telega/examples/session-bot/build/dev/erlang/bot/_gleam_artefacts/bot.erl, line 224)
  in call from bot:main/0 (/Users/bondiano/workspace/telega/examples/session-bot/build/dev/erlang/bot/_gleam_artefacts/bot.erl, line 231)%

You can find my usage here

grottohub commented 6 months ago

thanks for the report! the issue should be fixed in v0.3.1