Mirror is an entirely new concept in programming — just supply function signatures and some input-output examples, and AI does the rest.

  • KindaABigDyl@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    17 hours ago

    Could I do:

    signature primes_less_than(x: number) -> [number]
    example primes_less_than(2) = []
    example primes_less_than(10) = [ 2, 3, 5, 7 ]
    primes_less_than(10582319112759318014901241439012831231539517)
    

    ?

    I don’t pay for OpenAI, so I can’t try the playground