Giter VIP home page Giter VIP logo

agda-calf's People

Contributors

harrisongrodin avatar jonsterling avatar kaonn avatar tomniu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

agda-calf's Issues

Rename `step`?

Abstract cost metrics don't really correspond to a notion of "stepping". Would it make sense to rename step to reflect this abstraction? (RaML uses tick, but it suffers from the same issue.) Some ideas:

  • spend
  • pay
  • charge
  • incur

(To be read: "X c cost, then run e", for verb X = spend, pay, charge, incur, ...)

Use Literate Agda?

So far, we have .agda files. However, it might be worth using Literate Agda files .lagda.md, which lets us:

  • include prose describing our constructions, in Markdown (allowing for bold, math, links, etc.)
  • default-hide boring details

Make `meta` positive

Only use it to import base types from Agda anyway. On #35, this process is started by adding positive meta⁺; in a follow-up PR, we should remove the existing negative meta and rename meta⁺ to meta.

Rename `&`?

_&_ is an unusual name for the operation that runs two computations in parallel. It could be confusing, too, since & is often used for "lazy/projective" (negative) product.

Some potential alternatives:

  • par, a la 210
  • _∥_ (\|| or \parallel in agda-mode)
  • _⊗_ (\otimes or \ox in agda-mode)

My instinct is _∥_.

Clean up type names

Right now, there are lots of conventions for type names. We should just choose one and stick to it. Proposal:

  • type variables:
    • A, B, C for positive types
    • X, Y, Z for negative types
  • concrete types:
    • A is an Agda type, e.g. _×_
    • A⁺ is the positive calf type (if applicable), e.g. _×⁺_
    • A⁻ is the negative calf type (if applicable), e.g. _×⁻_

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.