Skip to content

Instantly share code, notes, and snippets.

As-har Dweedar AsharDweedar

Block or report user

Report or block AsharDweedar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@AsharDweedar
AsharDweedar / elixir_types.ex
Last active Aug 29, 2019
get type of elixir term or compare types
View elixir_types.ex
defmodule Types do
@doc """
## Examples:
iex>Types.typeof("Hello World")
"binary"
iex>Types.typeof(1)
View Detour_Distance
/* I wrote a complete code including main fumction
The test data I used:
Latitude Longtitude Address
--------- ----------- ----------
A: 37.643861 -122.427852 358 Alida way, south san francisco, ca
B: 37.611749 -122.402334 1500 elcamino real, san bruno, ca
C: 37.621548 -122.408184 277 carlton ave, san bruno, ca
D: 37.621313 -122.378955 San Francisco Airport
this is extra file
*/
You can’t perform that action at this time.