User Tools

Site Tools


codesnippets:fnowarnorphans

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
codesnippets:fnowarnorphans [2021/04/12 20:03] f2b216codesnippets:fnowarnorphans [2025/10/08 00:48] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== {-# OPTIONS_GHC -fno-warn-orphans #-} ====== ====== {-# OPTIONS_GHC -fno-warn-orphans #-} ======
 +~~DISCUSSION~~
  
   * prevents warnings of orphan instance, meaning:   * prevents warnings of orphan instance, meaning:
Line 54: Line 55:
 x1 = fMy 3.4  x1 = fMy 3.4 
 </code> </code>
-    * compiles, error and warning free, with compiler: GHC 8.10.4, using -Wall+    * compiles, error and warning free, with compiler: GHC 8.10.4, using compiler option -Wall
     * executes, with output:<code>     * executes, with output:<code>
 15.959999999999999 15.959999999999999
 </code> </code>
  
 +
 +===== ✎ =====
 +~~DISCUSSION~~
codesnippets/fnowarnorphans.1618250613.txt.gz · Last modified: (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki