Skip to content

issues Search Results · repo:kachayev/fn.py language:Python

Filter by

50 results
 (55 ms)

50 results

inkachayev/fn.py (press backspace or delete to remove)

from fn.func import curried @curried def sum5(a, b, c, d, e): return a + b + c + d +e sum5(1)(2)(3)(4)(5) Out[6]: 15 @curried def sum5(a: int, b: int, c: int, d: int, e: int): return a + b + c ...
  • phelps-sg
  • Opened 
    on Apr 19, 2023
  • #97

to use _ in functions. wait is a class with gt,or use some other name/operator.
  • lamdba
  • 1
  • Opened 
    on Apr 1, 2023
  • #96

class F(object): def __rshift__(self, g): Overload operator for F instances return self.__class__.__compose(self.__ensure_callable(g), self.f) def __lshift__(self, g): ...
  • pppppkun
  • 1
  • Opened 
    on Apr 25, 2022
  • #93

It just doesn t work. It expects Iterable from collections but this is not available. This log is from building python310Packages.fn with nix but should be reproducible on any python 3.10 out there Sourcing ...
  • lucasew
  • 2
  • Opened 
    on Apr 5, 2022
  • #91

Return misspelled as rerurn ar func.py, line 37.
  • uwuzote
  • Opened 
    on Mar 25, 2022
  • #90

Hi, interesting library! Do you have a function to use-case reference? Something similar to https://ramdajs.com/docs Coming back to Python from javascript and it s a difficulty curve for new users if ...
  • tavurth
  • 1
  • Opened 
    on Apr 14, 2020
  • #88

https://bugzilla.redhat.com/show_bug.cgi?id=1792991 https://github.com/kachayev/fn.py/blob/df53f5d6bf0e94a37f44f6be57d1c87c9b7a6c26/fn/iters.py#L2 Thanks for the library!
  • tirkarthi
  • Opened 
    on Jan 22, 2020
  • #86

There is a small typo in fn/immutable/heap.py. Should read pairing rather than pairingi.
  • timgates42
  • Opened 
    on Dec 21, 2019
  • #84

nested options can arise in reasonable APIs. Collapsing options can be done with a separately defined join operation.
  • bwo
  • Opened 
    on Mar 1, 2017
  • #83

Could fn.py do something like this functional concatenation? def f1(a): return a def f2(b): return b def f3(a, b): return a+b ([f1, f2] f3) (3, 2) = 5
  • daleydeng
  • Opened 
    on Feb 13, 2017
  • #82
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub