func_dart_core 0.6.2 copy "func_dart_core: ^0.6.2" to clipboard
func_dart_core: ^0.6.2 copied to clipboard

Functional Dart provides tools for writing functional code in Dart, emphasizing immutability, function composition, type safety, and avoiding the `dynamic` type.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add func_dart_core

With Flutter:

 $ flutter pub add func_dart_core

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  func_dart_core: ^0.6.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:func_dart_core/boolean.dart';
import 'package:func_dart_core/bounded.dart';
import 'package:func_dart_core/double.dart';
import 'package:func_dart_core/either.dart';
import 'package:func_dart_core/eq.dart';
import 'package:func_dart_core/function.dart';
import 'package:func_dart_core/identity.dart';
import 'package:func_dart_core/integer.dart';
import 'package:func_dart_core/list.dart';
import 'package:func_dart_core/monoid.dart';
import 'package:func_dart_core/nonemptylist.dart';
import 'package:func_dart_core/option.dart';
import 'package:func_dart_core/ord.dart';
import 'package:func_dart_core/predicate.dart';
import 'package:func_dart_core/semigroup.dart';
import 'package:func_dart_core/string.dart';
import 'package:func_dart_core/task.dart';
import 'package:func_dart_core/taskeither.dart';
3
likes
150
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

Functional Dart provides tools for writing functional code in Dart, emphasizing immutability, function composition, type safety, and avoiding the `dynamic` type.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

collection

More

Packages that depend on func_dart_core