Commit 3a67aba2 authored by Ben Gamari's avatar Ben Gamari Committed by Austin Seipp
Browse files

ghci/scripts/ghci016: Add implementation for negate

Summary: This previously produced a warning

Test Plan: validate

Reviewers: austin

Reviewed By: austin

Subscribers: simonmar, relrod, ezyang, carter

Differential Revision:
parent a72614c4
......@@ -13,6 +13,7 @@ instance Num T where
(*) = error "urk"
abs = error "urk"
signum = error "urk"
negate = error "urk"
-- Typing 3 at the ghci prompt should print T
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment