Skip to content

Commit

Permalink
move Sc delegate to Sc.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyagusev committed Feb 10, 2022
1 parent b17a900 commit f76fcb9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
9 changes: 9 additions & 0 deletions src/BookFx/Functional/Sc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
using static F;
using Unit = System.ValueTuple;

/// <summary>
/// Stateful computation.
/// </summary>
/// <typeparam name="TS">State type.</typeparam>
/// <typeparam name="TV">Value type.</typeparam>
/// <param name="state">State.</param>
/// <returns>(Value, State) tuple.</returns>
internal delegate (TV Value, TS State) Sc<TS, TV>(TS state);

/// <summary>
/// Stateful computation.
/// </summary>
Expand Down
11 changes: 0 additions & 11 deletions src/BookFx/Functional/Sc{TS,TV}.cs

This file was deleted.

0 comments on commit f76fcb9

Please sign in to comment.