Ticket #18 (new defect)

Opened 6 years ago

Last modified 6 years ago

no examples/ exists

Reported by: dmwit Owned by:
Priority: major Milestone:
Version: Keywords:
Cc:

Description

The README file in the hackage distribution suggests testing things by running a ghci command that loads examples/Test.hs, but no directory examples/ exists in the distribution. The darcs repository, neither.

I think it would be quite nice to have a simple hello-world style example that uses nothing more than FieldTrip (and its dependencies, of course). I tried the thing that seemed most obvious after reading the Haddocks: "render3 cube", but it segfaulted. I assume this means there is some initialization step that is needed, but that isn't documented anywhere. Improving the documentation or including a working example would both be great solutions.

Change History

Changed 6 years ago by dmwit

Okay, finally figured out what initialization steps need doing. I've sent a patch to the mailing list that adds a super-simple (but working!) example.

Note: See TracTickets for help on using tickets.