All Projects → toori67 → L

toori67 / L

Simple set notation in Kotlin

Programming Languages

kotlin
9241 projects

Labels

Projects that are alternatives of or similar to L

observable ish
Observable state and events for browser and Flutter.
Stars: ✭ 26 (+136.36%)
Mutual labels:  set
Javascript Datastructures Algorithms
📚 collection of JavaScript and TypeScript data structures and algorithms for education purposes. Source code bundle of JavaScript algorithms and data structures book
Stars: ✭ 3,221 (+29181.82%)
Mutual labels:  set
Collection
A PHP library for representing and manipulating collections.
Stars: ✭ 488 (+4336.36%)
Mutual labels:  set
NonEmptyCollections
A type-safe implementation for collections that cannot be empty. Life is too short for emptiness-checks!
Stars: ✭ 45 (+309.09%)
Mutual labels:  set
js-collections-map-set
Repository to have example code to demonstrate JavaScript Map and Set data structures.
Stars: ✭ 21 (+90.91%)
Mutual labels:  set
Redisson
Redisson - Redis Java client with features of In-Memory Data Grid. Over 50 Redis based Java objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Publish / Subscribe, Bloom filter, Spring Cache, Tomcat, Scheduler, JCache API, Hibernate, MyBatis, RPC, local cache ...
Stars: ✭ 17,972 (+163281.82%)
Mutual labels:  set
set
Simple Set implementation in C
Stars: ✭ 48 (+336.36%)
Mutual labels:  set
Algorithm
Algorithm is a library of tools that is used to create intelligent applications.
Stars: ✭ 787 (+7054.55%)
Mutual labels:  set
Gostl
Data structure and algorithm library for go, designed to provide functions similar to C++ STL
Stars: ✭ 254 (+2209.09%)
Mutual labels:  set
Zet
Set() as it should be.
Stars: ✭ 475 (+4218.18%)
Mutual labels:  set
setprotocol.js
🥞 Javascript library for a collateralized basket of ERC20 tokens
Stars: ✭ 57 (+418.18%)
Mutual labels:  set
invokable
Objects are functions! Treat any Object or Class as a Proc (like Enumerable but for Procs).
Stars: ✭ 40 (+263.64%)
Mutual labels:  set
Mlib
Library of generic and type safe containers in pure C language (C99 or C11) for a wide collection of container (comparable to the C++ STL).
Stars: ✭ 321 (+2818.18%)
Mutual labels:  set
set-config-resolver
[READ-ONLY] Loads configs to you with CLI --config, -c, --set, -s or sets parameter
Stars: ✭ 50 (+354.55%)
Mutual labels:  set
Learningmasteringalgorithms C
Mastering Algorithms with C 《算法精解:C语言描述》源码及Xcode工程、Linux工程
Stars: ✭ 615 (+5490.91%)
Mutual labels:  set
unikmer
Toolkit for k-mer with taxonomic information
Stars: ✭ 46 (+318.18%)
Mutual labels:  set
Kind Of
Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!
Stars: ✭ 268 (+2336.36%)
Mutual labels:  set
Hash Set
#️⃣ Set with custom equality comparisons
Stars: ✭ 6 (-45.45%)
Mutual labels:  set
Go Set
Type-safe, zero-allocation sets for Go
Stars: ✭ 751 (+6727.27%)
Mutual labels:  set
Php Enum
Simple and fast implementation of enumerations with native PHP
Stars: ✭ 446 (+3954.55%)
Mutual labels:  set

L

Simple set notation in Kotlin

Inspired by medium post

Usage

basic usage

listOf(1,2,3,4).L().cond { it%2==0 }.get()

with two list

val intList1 = listOf(1, 2, 3)
val intList2 = listOf(4, 5, 6)
listOf(1, 2, 3).L(CartesianZipper()).with(listOf(4, 5, 6).cond { x, y -> x * 2 == y }.get()

and many more

val intList1 = listOf(1, 3, 2)
val intList2 = listOf(4, 6, 5)
val intList3 = listOf(11, 13, 12)
val l3 = intList1.L(CartesianZipper()).with(intList2).with(intList3)
		.cond { _, y, z -> y * 2 == z }
		.cond { x, _, _ -> x > 2 }
		.get()
// [(3, 6, 12)]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].