Skip to content

Repository files navigation

hktu - HKT Utils

Collection of predefined transformers and Higher Kinded Types, utils

Examples

import{HKTU}from'hktu';// "Hello, world!"typeWithPipe=HKTU.Pipe<'hello42world',HKTU.string.Split<'42'>,HKTU.array.MapEx<HKTU.If<HKTU.value.IsAssignable<HKTU.types.ArrayItemInfo<string>,{index: 0}>,HKTU.Compose<HKTU.object.Get<HKTU.types.ArrayItemInfo<string>,'item'>,HKTU.string.Capitalize>,HKTU.object.Get<HKTU.types.ArrayItemInfo<string>,'item'>>>,HKTU.array.Join<', '>,HKTU.string.Append<'!'>>;

About

Higher Kinded Type Utils

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages