Commit 2371c5b0 authored by daniel.is.fischer's avatar daniel.is.fischer
Browse files

Fixed imports

Removed some redundant imports and changed others from H98 to hierarchical modules.
parent deeceec2
......@@ -5,7 +5,7 @@
module Data where
import Array
import Data.Array
import CSG
import Geometry
......
......@@ -5,7 +5,7 @@
module Eval where
import Array
import Data.Array
import Geometry
import CSG
......
......@@ -61,8 +61,6 @@ module Geometry
, clampf
) where
import List
type Coords = (Double,Double,Double)
type Ray = (Point,Vector) -- origin of ray, and unit vector giving direction
......
......@@ -12,9 +12,9 @@ module Illumination
, render
) where
import Array
import Char(chr)
import Maybe
import Data.Array
import Data.Char(chr)
import Data.Maybe
import Geometry
import CSG
......
......@@ -8,7 +8,7 @@ module Intersections
quadratic
) where
import Maybe(isJust)
import Data.Maybe(isJust)
import Construct
import Geometry
......
......@@ -7,8 +7,6 @@
module Main where
import System
import Parse
import Eval
......
......@@ -5,7 +5,7 @@
module Parse where
import Char
import Data.Char
import Text.ParserCombinators.Parsec hiding (token)
import Data
......
......@@ -5,9 +5,9 @@
module Pixmap where
import Char
import IO hiding (try)
import Parsec
import Data.Char
import System.IO hiding (try)
import Text.ParserCombinators.Parsec
readPPM f
= do h <- openFile f ReadMode
......
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