Calculus on fractal subsets of real line - I: formulation