dashbitco / dashbitco/nimble_csv

`undefined` when using RFC4180 in Mix Task

Open
#85 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
823
Forks
60
Avg merge
1d 22m
Merged PRs (30d)
1

Description

When generating PLTs

Compiling 44 files (.ex)
     warning: NimbleCSV.RFC4180.dump_to_iodata/1 is undefined (module NimbleCSV.RFC4180 is not available or is yet to be defined)
     │

Not doing anything fancy here.

    [headers | rows]
    |> CSVParser.dump_to_iodata()
    |> IO.iodata_to_binary()
    |> then(&File.write("output.csv", &1))

Any help would be appreciated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the warning in the Mix task while calling CSVParser.dump_to_iodata(), then inspect how NimbleCSV.RFC4180 is made available during PLT generation. Confirm whether the RFC4180 module can be resolved and verify that compilation completes without the undefined-function warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.