1. Yaron Minsky
  2. core hello world

Commits

Comments (0)

Files changed (5)

File broker_client.ml Modified

View file
  • Ignore whitespace
  • Hide word diff
 open Core.Std
 open Async.Std
-open Protocol
+open Broker_protocol
 
 let shell cmd args =
   In_thread.run (fun () ->

File broker_server.ml Modified

View file
  • Ignore whitespace
  • Hide word diff
 open Core.Std
 open Async.Std
-open Protocol
+open Broker_protocol
 
 (* First, we build the implementations *)
 

File build_all.sh Modified

View file
  • Ignore whitespace
  • Hide word diff
 #!/usr/bin/env bash
 
+EXT=byte
+
 ./build.sh \
-    hello_world.native \
-    hello_client.native \
-    hello_server.native \
-    broker_server.native \
-    broker_client.native \
+    hello_world.$EXT \
+    hello_client.$EXT \
+    hello_server.$EXT \
+    broker_server.$EXT \
+    broker_client.$EXT \
 

File directory.ml Modified

View file
  • Ignore whitespace
  • Hide word diff
 open Core.Std
 open Async.Std
-open Protocol
+open Broker_protocol
 
 (* A publisher for a single topic *)
 module Topic_pub : sig

File directory.mli Modified

View file
  • Ignore whitespace
  • Hide word diff
 (** A directory for storing last-values for a basic pub/sub system *)
 
 open Async.Std
-open Protocol
+open Broker_protocol
 
 type t