HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ryancerium
scarp
C#2018–2019
ryancerium / scarp

scarp

Type safe C# primitives

2Distinct people
3Mentions
0Explicit recommenders
34GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Type safe C# primitives

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:03:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by week3 dated mentions

Observed mentions: 2018-11-27 03:44:58 UTC to 2019-02-10 07:46:09 UTC. Weeks start Monday, UTC.

0122018-11-26 00:00:00 UTC to 2018-12-03 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsNov 262018-12-03 00:00:00 UTC to 2018-12-10 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-12-10 00:00:00 UTC to 2018-12-17 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-12-17 00:00:00 UTC to 2018-12-24 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-12-24 00:00:00 UTC to 2018-12-31 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-12-31 00:00:00 UTC to 2019-01-07 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsDec 312019-01-07 00:00:00 UTC to 2019-01-14 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-01-14 00:00:00 UTC to 2019-01-21 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-01-21 00:00:00 UTC to 2019-01-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-01-28 00:00:00 UTC to 2019-02-04 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-02-04 00:00:00 UTC to 2019-02-11 00:00:00 UTC (exclusive): 2 mentions; 2 submissions, 0 commentsFeb 4

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Nov 262018-11-26 00:00:00 UTC2018-12-03 00:00:00 UTC110
Dec 32018-12-03 00:00:00 UTC2018-12-10 00:00:00 UTC000
Dec 102018-12-10 00:00:00 UTC2018-12-17 00:00:00 UTC000
Dec 172018-12-17 00:00:00 UTC2018-12-24 00:00:00 UTC000
Dec 242018-12-24 00:00:00 UTC2018-12-31 00:00:00 UTC000
Dec 312018-12-31 00:00:00 UTC2019-01-07 00:00:00 UTC000
Jan 72019-01-07 00:00:00 UTC2019-01-14 00:00:00 UTC000
Jan 142019-01-14 00:00:00 UTC2019-01-21 00:00:00 UTC000
Jan 212019-01-21 00:00:00 UTC2019-01-28 00:00:00 UTC000
Jan 282019-01-28 00:00:00 UTC2019-02-04 00:00:00 UTC000
Feb 42019-02-04 00:00:00 UTC2019-02-11 00:00:00 UTC220

What Hacker News says

3 sources

Scarp 0.2.0. Second release of my first open source library

I read up on some F# (as many commenters suggested), and added the Result<T, E> functions Bind(), Map(), and MapError(). I renamed the Success concept to Ok to match F# and Rust. The Success functions work, but are now marked Obsolete. In 0.3.0 I'll make them a compile error. I also added JavaScript-like aliases called Then() that are aliases for Handle(). I improved EF Core support by adding support for nullable primitive types and String<Tag>, which I plain ol' forgot. EF Core usage is hard to justify, because queries against tagged primitive members, e.g. Long<Blog> Id, have to run locally instead of on the client. The EF Core docs briefly mention it. If anyone knows how to add EF Core SQL support for a type, let me know, please. The Primitive types added ASP.Net Core support via thin wrapper classes that contain the underlying strongl
Read the rest
y typed primitive. They're wrapped because ASP.Net Core doesn't allow user-defined structs to be controller route parameters. My hunch is it's because you can't have a user-defined default constructor for the generic code to call, but I haven't even Googled this yet. I changed the Scarp.Result namespace to Scarp.Results because client code had to type Result.Result.Ok("all is well") because the namespace and class have the same name (for client code that isn't in a .Result. namespace itself). https://github.com/ryancerium/scarp https://www.nuget.org/packages/Scarp/ https://www.nuget.org/packages/Scarp.AspNetCore/ https://www.nuget.org/packages/Scarp.EntityFrameworkCore/
1 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.