aboutsummaryrefslogtreecommitdiff
path: root/gentrace.sh
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-06-04 14:59:02 +0200
committerTom Smeding <tom@tomsmeding.com>2025-06-04 14:59:31 +0200
commit4261cb045081188a48bc8306f173166a79fcb1df (patch)
tree13649f7af878e9c2d628c3004f31cb91aeeb0714 /gentrace.sh
parent8b698856bdef15def2681ee9cc97a4f5d6d52d54 (diff)
Fix up and update Trace.hs
Diffstat (limited to 'gentrace.sh')
-rwxr-xr-xgentrace.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentrace.sh b/gentrace.sh
index 7be2b9c..c3f1240 100755
--- a/gentrace.sh
+++ b/gentrace.sh
@@ -8,7 +8,7 @@ module Data.Array.Nested.Trace (
-- * Re-exports from the plain "Data.Array.Nested" module
EOF
-sed -n '/^module/,/^) where/!d; /^\s*-- /d; s/ \b[a-z][a-zA-Z0-9_'"'"']*,//g; /^ $/d; s/(\.\., Z.., ([^)]*))/(..)/g; /^ /p; /^$/p' src/Data/Array/Nested.hs
+sed -n '/^module/,/^) where/!d; /^\s*--\( \|$\)/d; s/ \b[a-z][a-zA-Z0-9_'"'"']*,//g; /^ $/d; s/(\.\., Z.., ([^)]*))/(..)/g; /^ /p; /^$/p' src/Data/Array/Nested.hs
cat <<'EOF'
) where