New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hkt-toolbelt

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hkt-toolbelt - npm Package Versions

1
6

0.22.0

Diff

Changelog

Source

[0.22.0]

  • Add various conditional 'variadic' utilities:
    • Add Conditional.EqualsAll for checking if every type in a list is equal.
    • Add Conditional.ExtendsAll for performing composite subtype checks.
  • Add Union.FromList for constructing a union from a list of types.
  • Add list utilities:
    • Add List.At, List.Accumulate, List.Iterate, List.Zip.
    • Add List.Range, for generating ranges of numbers.
  • Add various number utilities:
    • Add Number.Negate for integer negation.
    • Add Number.Max and Number.Min for binary max/min operations.
    • Add Number.MAX_SAFE_INTEGER and Number.MIN_SAFE_INTEGER constants.
  • Add NaturalNumber.SubtractBy for argument-swapped subtraction.
  • [Breaking] Improve List.Slice, List.Splice, and List.Unshift interfaces.
mpoteat
published 0.22.0-beta.1 •

mpoteat
published 0.21.1 •

Changelog

Source

[0.21.1]

  • Add support for negative start indices in List.Splice.
mpoteat
published 0.21.0 •

Changelog

Source

[0.21.0]

  • Improve ability to compose type-level functions
    • Add $N operator for uncurried type-level function application.
    • Add Kind.Curry and Kind.Uncurry to support argument lifting.
  • Add various natural number operations:
    • Add NaturalNumber.ModuloBy with swapped arguments.
    • Add NaturalNumber.IsLessThan.
  • Add Combinator.Collate for theoretical / pedagogical purposes.
  • Add NaturalNumberTheory.Factorial.
  • Add NaturalNumberTheory.FizzBuzz and NaturalNumberTheory.FizzBuzzSequence.
mpoteat
published 0.20.1 •

Changelog

Source

[0.20.1]

  • Add DigitList.FromString for parsing digit lists from strings.
  • Add Number.Compare for type-level numeric comparison.
mpoteat
published 0.20.0 •

Changelog

Source

[0.20.0]

  • Add various advanced List methods.
    • Add Concat, Repeat, ShiftN, PopN, Slice, Splice, Flatten
    • Add FlattenN, DigitList.ToNumber
  • [Breaking] Rename prior List.Slice utility to List.ShiftN.
mpoteat
published 0.19.3 •

Changelog

Source

[0.19.3]

  • Make String.Join more composable with other list types.
mpoteat
published 0.19.2 •

Changelog

Source

[0.19.2]

  • Improve NaturalNumber.Multiply and Combinator.FixSequence performance.
mpoteat
published 0.19.1 •

Changelog

Source

[0.19.1]

  • Add Kind.Reify for reifying a higher-order type to a value-level type.
  • Add Type.Infer for inferring a narrow type in a parameter context.
mpoteat
published 0.19.0 •

Changelog

Source

[0.19.0]

  • [Breaking] Complete overhaul of all modules, more consistent $ usage.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc