Skip to content

cannorin/prelude.fs

Repository files navigation

prelude.fs

One-file solution for various problems writing F#

What is this?

Prelude.fs extends the standard library with many useful modules and functions.

For example, the String module provides functions that were only accessible as member methods, such as String.replace.

See the src directory for details.

Contributing

Contributions are very welcome!

Note that every source file (inside src/) must start with namespace Prelude. build.fsx concatenates them into one file, removing the namespace definition.

Also, make sure you execute fake build every time before the commit. If you are using *nix, you can do it automatically by copying copy_this_to_git_hooks_pre-commit to .git/hooks/pre-commit. Unfortunately I don't have a Windows PC, so writing a git hook script for Windows will be a big contribution.

It is also lacking documentation, and it will be great to have more useful functions!

Installation

  • You can just copy it to your project or use Paket:
github cannorin/prelude.fs prelude.fs

License

Prelude.fs is licensed under the MIT License.

About

One-file solution for various problems writing F#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages