From ad70db5f14949c640467350714159fb9f2dc00eb Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Wed, 20 Nov 2024 11:59:27 +0000 Subject: [PATCH] add expression of wistfulness about OCaml switches which are more powerful than in go --- fermi.go | 1 + 1 file changed, 1 insertion(+) diff --git a/fermi.go b/fermi.go index 581b95e..b53ae6d 100644 --- a/fermi.go +++ b/fermi.go @@ -303,6 +303,7 @@ func multiplyDists(old_dist Dist, new_dist Dist) (Dist, error) { func divideDists(old_dist Dist, new_dist Dist) (Dist, error) { switch o := old_dist.(type) { + // I miss you, OCaml switches case Lognormal: { switch n := new_dist.(type) {