dbrattli / Expression

Pragmatic functional programming for Python inspired by F#
https://expression.readthedocs.io
MIT License
424 stars 31 forks source link

Fix typing errors in #39 #40

Closed dbrattli closed 2 years ago

dbrattli commented 2 years ago

Fixes typing errors in #39 by only allowing sort on a sortable list (i.e where the elements supports less-than operator)

codecov[bot] commented 2 years ago

Codecov Report

Merging #40 (8e9e4ab) into main (9414f05) will increase coverage by 0.11%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
+ Coverage   79.88%   80.00%   +0.11%     
==========================================
  Files          38       38              
  Lines        2242     2255      +13     
==========================================
+ Hits         1791     1804      +13     
  Misses        451      451              
Impacted Files Coverage Δ
expression/collections/frozenlist.py 77.25% <100.00%> (+1.22%) :arrow_up: