This repository has been archived on 2025-07-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
fp/week3/Homework3.hs
AKP 405dc77434
Alter 4 files
Rename `02-lab.hs` to `lab.hs`
Rename `02-polymorphic_functions.hs` to `polymorphic_functions.hs`
Add `Homework3.hs`
Add `Types.hs`
2023-10-23 14:06:42 +01:00

21 lines
505 B
Haskell

-- setting the "warn-incomplete-patterns" flag asks GHC to warn you
-- about possible missing cases in pattern-matching definitions
{-# OPTIONS_GHC -fwarn-incomplete-patterns #-}
-- see https://wiki.haskell.org/Safe_Haskell
{-# LANGUAGE Safe #-}
module Homework3 (gasUsage , luhnDouble , luhn) where
import Types
gasUsage :: (Fractional a, Ord a) => a -> Classification
gasUsage = undefined
luhnDouble :: Int -> Int
luhnDouble = undefined
luhn :: Int -> Int -> Int -> Int -> Bool
luhn = undefined