Sylvester.AbstractAlgebra 0.2.1.1

There is a newer version of this package available.
See the version list below for details.
Install-Package Sylvester.AbstractAlgebra -Version 0.2.1.1
dotnet add package Sylvester.AbstractAlgebra --version 0.2.1.1
<PackageReference Include="Sylvester.AbstractAlgebra" Version="0.2.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sylvester.AbstractAlgebra --version 0.2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sylvester.AbstractAlgebra, 0.2.1.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sylvester.AbstractAlgebra as a Cake Addin
#addin nuget:?package=Sylvester.AbstractAlgebra&version=0.2.1.1

// Install Sylvester.AbstractAlgebra as a Cake Tool
#tool nuget:?package=Sylvester.AbstractAlgebra&version=0.2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
// Use the Sylvester abstract algebra package
#load "Paket.fsx"
Paket.Package["Sylvester.AbstractAlgebra"] 
#load "Paket.Generated.Refs.fsx"

open System 
open Sylvester
// Define an infinite sequence of strings
let c = infiniteSeq ((+) 65 >> Char.ConvertFromUtf32)
c
Seq (seq ["A"; "B"; "C"; "D"; ...])
// Define a monoid using c and the string concat operator (+)
let Cat = Monoid(c, (+), "")
Cat
seq
  [("A", "B", "AB"); ("B", "C", "BC"); ("C", "D", "CD"); ("D", "E", "DE"); ...]
// Use a custom operator
let (++) = Cat.Op
let a, b = "Nancy", "Drew"
a++b

// All types and operators are strongly types
//a ++ 4
"NancyDrew"
let Pad = Morph(Cat, fun x -> x.PadLeft 10)
let pad = Pad.Map
pad a ++ pad b
"     Nancy      Drew"
pad a ++ b
"     NancyDrew"

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.5 305 5/3/2020
0.2.3.2 237 3/24/2020
0.2.3.1 224 3/24/2020
0.2.3 253 3/24/2020
0.2.1.2 298 1/29/2020
0.2.1.1 283 1/29/2020
0.2.1 285 1/29/2020

First release with basic definitions up to rings.