nanomath/src/number/type.js
Glen Whitney 69ef928b6e refactor: Switch to 'map-like object keyed by string and type vector' format
See https://code.studioinfinity.org/glen/nanomath/wiki/Item-Specifications.
  Also stubs out the TypeDispatcher, mocking the merge function, so we
  can see that all of the proper things will be added.

  Ready for initial implementation of the TypeDispatcher.
2025-04-02 11:22:53 -07:00

4 lines
125 B
JavaScript

import {plain} from './helpers.js'
// Not much to do so far when there is only one type
export const number = plain(a => a)