#kotlin #function #scope #ergonomics

no-std also

A collection of Kotlin-esque blanket impl helper functions, enabling easier function chaining patterns

1 unstable release

0.1.0 Aug 10, 2019

#19 in #kotlin

22 downloads per month

MIT license

8KB
62 lines

Also

Build status dependency status

An approximation of Kotlin's chaining functions like let and also. Provides Kotlin-esque helper functions for all types via a blanket impl, enabling easier function chaining patterns.


lib.rs:

<style> /* Provides formatting for the feature list */ .desc { padding-left: 1em; margin-bottom: 1em; display: block; } .icon { width: 1em; height: 1em; display: inline-flex; top: .125em; position: relative; } .check-mark { background: url("data:image/svg+xml,") no-repeat; } .cross-mark { background: url("data:image/svg+xml,"); } </style>

An approximation of Kotlin's chaining functions like let and also

Features

  • nightly Additional features requiring the nightly compiler
  • std Additional features requiring the Rust Standard Library

No runtime deps

Features