./examples is a small tynix showcase project with runnable, checkable samples.
Quick commands:
tynix check ./examples/main.tynix
tynix check-project ./examples
tynix check ./examples/polymorphism/hkt-map.tynix
tynix check ./examples/interop/inline-declare.tynixCatalog:
main.tynix: a compact "hello tynix" entry point usingbuiltins.mapbasics/: literals, lets, lambdas, records, lists, and conditionalsgradual/:any,unknown,dynamic, casts, and diagnostic directivespolymorphism/:forall, unions, higher-kinded aliases, tuples, and linear arrowsindexed/:Vec,Matrix,Tensor,Range, andUnitinterop/: inline declarations, ambient.d.tynixfiles, and untyped importslegacy/: plain.nixfiles used by the interop examplessupport/: workspace declarations forbuiltins, legacy modules, andtynix.config.tynix
The top-level tynix.config.tynix is wired so tynix check-project ./examples
walks the sample set as one project.