SciNim / Datamancer

A dataframe library with a dplyr like API
https://scinim.github.io/Datamancer/datamancer.html
MIT License
133 stars 7 forks source link

Misc generic improvements #40

Closed Vindaar closed 2 years ago

Vindaar commented 2 years ago

Minor cleanup of the macro logic code and removal of dead code as well as some improvements:

Changelog:

* v0.3.3
- define =ScalarLike= concept to match types that can be converted to
  =float= via =.float= for e.g. units to have a =%~= Value conversion
  for them
- minor cleanup of macro logic
- rename =genColumn= to =defColumn=
- =toDf= now supports assignment of generic arguments as well, as long
  as the column types required have been generated already.
- =defColumn= now generates all combinations of the given types
- fixes some issues with =unionType= getting confused
- makes =toColumn= work correctly with =array=