Thread
#compose
    f

    Felipe

    11 months ago
    Hi guys i built a small library to help navigate in compose with well typed functions: https://github.com/xmartlabs/TypedNavigation Any feedback is welcome!!
    a

    alorma

    11 months ago
    Hi! It looks great! Why are "TypedNavigations"
    E
    ,
    A3
    , ...? what does it mean?
    f

    Felipe

    11 months ago
    The idea is that the amount of arguments is ststically typed so
    A3
    is the navigation with 3 arguments and
    E
    is the navigation with no arguments
    a

    alorma

    11 months ago
    Wh not
    Empty
    ?
    f

    Felipe

    11 months ago
    i think that for that we went with the shorter option to keep all names short but i don't think
    Empty
    is bad either
    a

    alorma

    11 months ago
    Sorry, i meant...
    Empty
    ,
    SingleParam
    Etc
    f

    Felipe

    11 months ago
    Ahhh i see in that case we thouth it as an option but when building it i base those types in the dimensions of multik a library to make operations in multidimensional arrays. Similarly to what we do they define the dimension statically by calling it
    D1
    ,
    D2
    , ...,
    DN
    . I think that if its not clear enough we can change it to the notation that you mention since it make it easier to read and it explain itself better but that will make longer types since you will have to define
    TypedNavigation.ThreeParams
    .