Initial commit

This commit is contained in:
Kiana Sheibani 2022-12-08 10:02:19 -05:00
commit 73512ccd77
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
3 changed files with 32 additions and 0 deletions

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
*.ibc
*.o
build/
*.*~

18
Main.idr Normal file
View file

@ -0,0 +1,18 @@
module Main
import Data.NumIdr
||| A type for angles in radians.
public export
Angle : Type
Angle = Double
data Joint : Nat -> Type where
Revolute : Angle -> Angle -> Joint n
Robot : (n : Nat) -> Type
Robot n = List (Either (Joint n) (Vector n Double))
main : IO ()
main = putStrLn "Hello World!"

9
robotlib.ipkg Normal file
View file

@ -0,0 +1,9 @@
package robotlib
version = 0.0
authors = "Kiana Sheibani"
license = "MIT"
langversion >= 0.5.1
depends = numidr >= 0.2.1