Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can if

    func Fahrenheight(f int) Celsius {
      return Celsius(5*(f-32)/9)
    }


Well, sure, but I meant that in the context of:

    type (
        Celsius    float64
        Fahrenheit float64
    )




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: