Skip to content

alugocp/ocaml-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix Determinant OCaml Server

A simple OCaml HTTP server that calculates the determinants of matrices. Simply make a POST request with some JSON-formatted n by n matrix and the server will tell you its determinant!

This code was written to show off on my YouTube channel.

Build

Just call make, which in turn builds server.exe with dune

Run

To run just call ./run after building or if you can type fast then try ./_build/default/server.exe

They're literally the same thing but the first one's for lazy people.

Test

Once you've got the server running, you can query it with something like:

curl 127.0.0.1:2017 --data "[[1,0],[0,1]]"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published