Giter VIP home page Giter VIP logo

fermata's People

Contributors

taidalog avatar

Stargazers

 avatar  avatar

Watchers

 avatar

fermata's Issues

Correct `Validators.fsi`.

There are some incorrect lines.

  • l.24 Return type is still Fermata.Errors.Errors though it returns exn.
  • l.32 Return type is still Fermata.Errors.Errors though it returns exn.
  • l.55 Return type is still Fermata.Errors.Errors though it returns exn.
  • l.79 Return type is still Fermata.Errors.Errors though it returns exn.
  • l.104 Return type is still Fermata.Errors.Errors though it returns exn.
  • l.120 Return type is still Fermata.Errors.Errors though it returns exn.

Release 0.4.0.

  • #31
  • #32
  • #33
  • Revise README.md.
  • Raise version.
    • Top of README.md.
    • Installation (.NET CLI) in README.md.
    • Installation (F# Intaractive) in README.md.
    • <Version> in .fsproj.

Use signature files (`.fsi`)

  • Add <OtherFlags>--allsigs</OtherFlags> to .fsproj, a compiler option to generate a signature file for each source file.
  • Do dotnet build to generate signature files.
  • Revise the generated signature file if needed.
  • Add the signature files to .fsproj.
  • Remove <OtherFlags>--allsigs</OtherFlags> from .fsproj because the option overwrote signature files I wrote on build!

Rename `Dec` `Dec32`.

Dec in Fermata.RadixConversion module deals with values of type int32, so it should be renamed Dec32 to show that it can't have a value greater than Int32.MaxValue or less than Int32.MinValue.
For the same reason, Bin should be Bin32, and Hex should be Hex32.

Improve validation functions in `RadixConversion`.

Validation functions are to be named according to following rules:

  • validate function returns Result or Option
  • isValid function returns bool

So following actions are needed:

  • Rename validate to isValid
  • Build validate
  • Remake tryToXxx functions

Undo #18 and #19.

Issues #18 and #19 aim working with Fable, but before doing #18 and #19, there are several things left to be done. So now, for the time being, undo those two issues.

Release 0.5.0.

  • #35
  • #36
  • Revise README.md.
  • Raise version.
    • Top of README.md.
    • Installation (.NET CLI) in README.md.
    • Installation (F# Intaractive) in README.md.
    • <Version> in .fsproj.

Add new functions.

  • Array/List/Seq.countWith
  • Array/List/Seq.trySkip
  • Array/List/Seq.filterIndex

Add `Boundary` module.

  • Boundary.clampGap
  • Boundary.clamp
  • Boundary.gap
  • Boundary.between
  • Boundary.within
  • Boundary.rebound
  • Boundary.warp

Write tests.

  • Array
  • List
  • Seq
  • Bool
  • Bound
  • RadixConversion
  • Regex
  • Result
  • String
  • Tuple
  • Validators

Update README.md.

  • Replace HTML tags with markdown.
  • Add links to GitHub and NuGet.
    Repository on GitHub
    NuGet Gallery
  • Add "how to install".

Add new functions.

  • Array.splitWith
  • List.splitWith
  • Seq.splitWith
  • String.splitWith
  • Array.padLeft
  • Array.padRight
  • List.padLeft
  • List.padRight
  • Seq.padLeft
  • Seq.padRight

Establish `Validators` module.

Commonly used validation functions should be given as a module.

Following functions are used often.

  • validateNotEmpty
  • validateFormat

Add `Int32.validate` function.

.NET static methods Int32.Parse and Int32.TryParse are useful. But when it comes to using with Result type, there can be a function that validate a number and returns Result<int, 'Error>.

Use `try-with` syntax and `exception` for error handling.

Now error handling is done with discriminated unions.
But exception is more useful for some reasons:

  • exception can be used in the same way as UD.
  • exception can stop the program running.

So replace UD with exception and use them. They can be thrown or they can't.

Release 0.3.0.

  • Revise README.md.
  • Raise version.
    • Top of README.md.
    • Installation (.NET CLI) in README.md.
    • Installation (F# Intaractive) in README.md.
    • <Version> in .fsproj.

Correct `RadixConversion.fsi`.

There are some incorrect lines.

  • l.27 Return type is still Fermata.Errors.Errors though it returns exn.
  • l.120 Dec.tryToBin is called in an example for Dec.tryToHex.
  • l.128 Dec.tryToBin is called in an example for Dec.tryToHex.
  • l.156 Return type is still Fermata.Errors.Errors though it returns exn.
  • l.245 Return type is still Fermata.Errors.Errors though it returns exn.

Release 0.2.0.

  • Revise README.md.
  • Raise version.
    • Top of README.md.
    • Installation (.NET CLI) in README.md.
    • Installation (F# Intaractive) in README.md.
    • <Version> in .fsproj.
  • Revise <Description> in .fsproj so viewers can see its purpose quickly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.