Rulealize.RuleSet.WeightLog 1.0.0

dotnet add package Rulealize.RuleSet.WeightLog --version 1.0.0
                    
NuGet\Install-Package Rulealize.RuleSet.WeightLog -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Rulealize.RuleSet.WeightLog" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rulealize.RuleSet.WeightLog" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Rulealize.RuleSet.WeightLog" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Rulealize.RuleSet.WeightLog --version 1.0.0
                    
#r "nuget: Rulealize.RuleSet.WeightLog, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Rulealize.RuleSet.WeightLog@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Rulealize.RuleSet.WeightLog&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Rulealize.RuleSet.WeightLog&version=1.0.0
                    
Install as a Cake Tool

Rulealize.RuleSet.WeightLog

A weight diary: one line a day, with how the day felt and whether there was exercise, against a goal. A Rulealize rule set.

Rule set id Rulealize.RuleSet.WeightLog
Package Rulealize.RuleSet.WeightLog
Inputs record, goal, remove
Holds nothing
Draws on TypeSchema, State, Sequence, Record, Comparison, Logic, Arithmetic, Branch, Binding, Definition, Text

A day is the date, the weight to a tenth of a kilogram, how the day felt from 1 to 5, and whether there was exercise. A date is written as a calendar gives it, 2026-11-03; anything else is refused with date.form. A day recorded again is put right rather than added twice, and the days stay in date order whatever order they are entered in, so a chart of them reads left to right.

Projection Holds
days Every day in date order, { "date", "weight", "goal", "condition", "exercised" }, the goal on each so a chart can draw it beside the weight, and exercised as yes or no
summary latest, the last day's weight; goal; left, how far the latest is above the goal (0 at or under it); days; exercised, the days with exercise

Opening it

Rulpane opens it from the Rulealize Registry by its identifier and version: #r=Rulealize.RuleSet.WeightLog@1.0.0.

License

Apache-2.0.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
1.0.0 74 10/31/2026