tricu

An interpreted language for exploring Tree Calculus
Log | Files | Refs | README | LICENSE

registry-lambda.tri (508B)


      1 !export *
      2 !export * from consumers_comparison_registry_lambda
      3 -- Lambda comparison for registry.scp: the shared implementation now lives
      4 -- in lib/consumer/comparison/, not in this example entrypoint.
      5 -- Import locally so existing --file ... --name lambdaRoute comparisons still
      6 -- select the same function. Requests are already parsed (method, target).
      7 -- For example, lambdaRoute root (pair "GET" "/_arboricx/health") returns IO
      8 -- containing the same HTTP health response as the SCP registry application.