Commits

Author Commit Message Labels Comments Date
Carlos Cordoba
Fix tests file
Carlos Cordoba
Change package name to funckit
Carlos Cordoba
Fix minor change of name in the docs.
Carlos Cordoba
Add documentation for cw.py -. Docstrings are now in rst -. Change the behavior of all fold functions to make it consistent with the behavior of reduce. -. fold_{left, right}_list functions now return an iterator. -. Eliminate Unsupplied, use None as default start arg instead. -. Fix tests accordingly
Carlos Cordoba
Fix imports after last commit
Carlos Cordoba
Eliminate the initial functional from all libraries' names -. I think this way is easier to refer to the submodules of this package. -. Fix __init__.py accordingly.
Carlos Cordoba
Eliminate uneeded tests and add new ones. -. Eliminate the list operators and transpose tests. -. Add tests to a couple of functions in xoltar and datastruct to check that they are working correctly after the last changes.
Carlos Cordoba
Eliminate list operators. I think it's easier and faster to use numpy.arrays to operate with infix operators between lists.
Carlos Cordoba
Eliminate repeated stuff from goopy -. Eliminate transpose, mean, variance, stddev because they are present in numpy. -. Eliminate maximum and minimum because now we have the buitins max and min.
Carlos Cordoba
Eliminate repeated stuff from datastruct -. Eliminate dict because now it's possible to use the dict() builtin. -. Eliminate any, all, reverse because all of them are present in goopy. Change none_of to use some. -. Change all for every in xoltar.
Carlos Cordoba
Add a curry decorator -. Rename curry to curry_function so that we can define a decorator named curry, that let us use more easily a curried function (see the example).
Carlos Cordoba
Change the name of map for map_level -. I think it's better not to hijack the built-in map so people don't get confused by the application of it we are using here. -. Fix our test suite accordingly.
Carlos Cordoba
Add a column function
Carlos Cordoba
Adding an offset option to list_partition -. We also add a test for list_partition
Carlos Cordoba
Adding short names for unknown variables in partial application functions
Carlos Cordoba
Change some function names
Carlos Cordoba
Making this module work again! -. Adding _getStackFrame which was missing in the latest version of functional_xoltar. Without it it was not possible to create LazyExpr -. Changing some function names to make them easier to remember
Carlos Cordoba
Eliminating repeated fold functions -. Implementation of fold_right and fold_right_list were wrong in datastruct (verified in Ocaml) -. Changed the order of the arguments to match that of reduce -. All fold functions can work now with no initial/start value (like reduce) -. Eliminate some tests and change others accordingly.
Carlos Cordoba
Removing partial from cw -. My mistake. It's better to call it from functools
Carlos Cordoba
Removing compose of the functional_cw module -. The compose of functional_xoltar is more general (it can compose any number of functions) although more slow. I prefer to leave the more general. -. Fixing tests accordingly -. Changing the name of applycompose to apply_compose
Carlos Cordoba
Separating the list operator tests
Carlos Cordoba
Changing the symbol for infix operators -. Before was *at*, now it's |at| -. I think it's better to use a less common operator than mul to reduce the potential conflict with other classes. -. Besides I've modified functional_xoltar and partial so that they could work with this definition. -. Th change in partial doesn't let use partial functions that contain the or (|) operator
Carlos Cordoba
Adding a missing import
Carlos Cordoba
Moving depth and map from cw to mathematica -. Because these functions are made by me. -. Adding _is_int to better control the type of the level arg
Carlos Cordoba
Fixing some crazy End Of Line's with this file
Carlos Cordoba
Fixing package installation files after last commit
Carlos Cordoba
Complete reestructuration to add the xoltar module Instead of one big init, I have returned to one file per added project. This way I can make it clear what my contributions are and what are from other people. Besides, I think it's easier to mantain.
Carlos Cordoba
Map can now apply a function to all sublists at any given depth on a list -. We add a new arg called 'level' to do this. -. Also adding a depth function to determine the max depth of a list -. Adding a test to check this new definition
Carlos Cordoba
Fixing some format issues
Carlos Cordoba
Adding a README
  1. Prev
  2. Next