All New

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Register

Login

All New Register Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
sean's Avatar

sean / Result pattern with a closed error hierarchy (C#)

0 likes
0 forks
1 files
Last active 1 month ago
A way to make a method's failure modes part of its return type without OneOf's positional Tn tedium or a flat opaque Error blob. Emulates a discriminated union using a sealed record hierarchy.
dotnet

Result pattern with a closed error hierarchy (C#)

A way to make a method's failure modes part of its return type without OneOf's positional Tn tedium or a flat opaque Error blob. Emulates a discriminated union using a sealed record hierarchy.

What to call it

There is no single name. It is three named things stapled together:

sean's Avatar

sean / A reusable opencode prompt

0 likes
0 forks
1 files
Last active 1 month ago
GPT thinks this is a good reusable prompt
opencode

We are working on this task:

Use a retrieval-first workflow.

Context priority:

  1. Current repo code
  2. Repo-local docs: AGENTS.md, PROJECT.md, README.md, docs/, adr/
  3. Active issue/PR/task description
Newer Older

Powered by Opengist ⋅ Load: 42ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文